<?php
namespace Api\Controller;
use Common\Controller\HomeBaseController;

class WxsdkController extends HomeBaseController{

   
    public function getmenu(){
        $menu=get_wxsdk('Menu');//获取微信公众号sdk的菜单类
        $getmenu = $menu ->getMenu();
        var_dump($getmenu);
    }

    
    public function load_config(){
      $conf=C('WX_API_CONFIG');
      return $conf;
    }

}